Fixed several bugs with acl tags.