Fixed a bug in AccessControlUtil