Fixing result type of .exec() when getting a single document. Updated type info on some query operations that don't return documents (like count).