fixed bug with display of categories on category index page
created fallback for seraches with no results