Fixing bug. Error messages without intermediate "While .." lines are possible.
Merge pull request #4 from ecraven/master

Fixing bug