Fixed search filter visibility logic