Fix problem with clear query button.