Fix error when using v6 without mask in api-allow