Fixing bug where start and end could be set as the same stop.