Fixed issue where an invalid ID may be generated with Masked rax:roles.