fix for GPMONGODB-172 "Unable to query domain class with ObjectId field in tests"