HR-376 Fix for having Case entity type custom fields for profile selector