check for !defined rather than !true for $query
bump version, note changes