Fixing bug with query string change

To repro the bug, click on search, enter "a", backspace "b"
The result will be for the filter "a".

This CL fixes the problem

Change-Id: Ie85ff4945de4ebbe623dee4a8430dac73c52f0cb
2 files changed