Query using the right object.