Cleanup user-query on the client side.