Fixes #4812: Fixed search filter