Fixed bug: no page not found if category is excluded