Perhaps `!_.isEmpty(illegalPrincipalIds)` as well