queries on objectIds fix