Bug-fix if start == end