Trying to fix the HasAnyAccess array error