Switch max/timestamp conversion order