I haven't changed any of these since the last time SQL generation
worked correctly. What I have changed is limited to what's listed
in the quoted text above.
I could reproduce it now here too - I don't know where it's failing,
but I'm not a specialist in this though. As I can reproduce it, I can
take a deeper look.