Glad you brought this up - I'd fixed it ages ago and thought I'd uploaded it, but it turns out my host had broken SSH and my upload script never really uploaded it, and they'd broken a whole bunch of stuff on the site. Would never have found out how deep the rabbit hole went without your post, so thanks