(Grischas commit is unrelated to the problems with your custom modifier).
I don't know what's happening there. This would need some debugging. Can I get access to that pristine s9y installation? Preferable SSH/SFTP, and HTTP of course. This might take me a few days though, so it would be good to have access to it on a machine that is online 24/7
Regards,
Garvin