Correct commit to Query