[bug 879644] Fix page in new query

When doing a new keyword query, we should go back to page 1.