Add where on query to select which objects we want to index