Merge "Fix logic in NamespaceInfo::getRestrictionLevels"