Strengthen this test --
if hasProjectionNode == false, it doesn't test anything.
In that case it should detect that there is no projection, preferably anywhere in the first plan fragment, not just at the top.