Do not force the end to be later than the start
Merge pull request #6742 from blink1073/qtconsole-fix-complete-reply

QtConsole Completion Fix - Do not force the "end" to be later than the "start"