Fixes filtered search results

(finally!)