Fix a small bug with the permission node.