Added before filters to categories