detect view query changes even when the view has declared columns that didn't change

I discovered this bug when working on refactoring for materialized view support: the view query wasn't being checked at all if old and new view version declared columns. This leads to failure if the cols didn't change, but the query did.