This doesn't surprise me at all, I've seen this in practice in a few companies I've worked for where dated systems are patched to try and work beyond the scope of their inception.
Unfortunately, this is also happening to me
Clients are great at demanding systems to perform tasks that they original didn't ask for in their spec, so it ends as something that needs to patched in...