redirect users from recipe search to ingredient search when the selected ingredients list is empty