[BUGFIX] Fix application type check in CategoryPermissionsAspect