make replication checking backward compatible
Merge pull request #5147 from ticoann/test_0.9.95a

make replication checking backward compatible