Problem in retrieving policy by category. Solved.