Fix a potential spam bug in mode parsing for access list.