fixing what to do on enter clicked in the search filter