Fixed bug with autocomplete suggestions

Some autocomplete suggestions not showing up when the button "duplicate
query" is pressed, when there are some filters present on the form