Fix a bug with allow lists.