If the perm is null, treat it as none