fixed bug when looking for category specific entries