Remove use of reverse iterators in repairIntervalsInRange(). While they were