[BUGFIX]  A query cannot have both projections and keys-only set