Fixed bug in ZonedPermissionHelper. Updates #1078