Fix issue with replica set config