Added a new pushQuery function.