commit update to allow for replace using timestamps with a test. fixes issue 5797