Fixed loop of ACL checks being faulty.