Fixed search filter bugs