fixed replicationLag calculation