search_form logic fixed

When no entries found redirect to the appropriate error message page
happens. Filters by status prevously set remains.