Check for duplicate and mismatched slonyIds during upgrade