Fixed a bug with pages with no category