fix for the reviews page, in case a category is deleted