fixed bug in burke fischer error repair where dist starting at 0 was causing insertions to be favored.