Domain Entity module compatibility issue causes hasDomainPermissions() to return nothing