Fix timestamp to be correct in case of recover