Fixed crash on unexpected return
Merge pull request #5 from RoryCrispin/patch-1

Fixed crash on unexpected return