Autocomplete filter fix

fixes https://labs.riseup.net/code/issues/3496