Fixed bug in ZonedPermissionHelper. Updates #1078 #1084