What did you upgrade to?
It is probably one of performance optimizations in query rewriting (called 'constant folding') which removes redundant parts of queries...
I might need to play with it so see if there's a way to trick it.
Any update on my request
Can you reply as to which version you upgraded to?