Fixed a couple of mistakes in getTimes.