Fix error line numbers when a range is run
Merge pull request #286 from lawrenceakka/line-number-fix

Fix error line numbers when a range is run