Fixed a bug in category - should find the category by slug instead of title.