while refactoring forgot to add 'not' to search condition so filter was doing exact opposite