Added a verification in case replication is ok but on the wrong master