Issue
User criteria is not allowing HR category to be visible for users.
Cause
The script within the user criteria uses a function called 'answer' which is not advisable as this is a predefined variable in user criteria.
Resolution
Change the function name to something other than 'answer' and clearing the instance cache.