Fixed a bug in HierarchicalAccessManager which might have cause invalid READONLY event notification.
Removed unused code from HierarchicalAccessManager.