Convert _id's in query to proper bson id's incase the user is trying to select records via query.