Make query type equality checks consistent
Make query type equality checks consistent

solocommand/mongodb,lyft/mongodb,socialcdetest/test,bjori/mongodb,doctrine/mongodb,talkspirit/mongodb,alcaeus/mongodb,researchgate/mongodb,taohaolong/mongodb-1