Ensure only the right vectors in Mongo queries get turned into maps