Fixes #186
Merge pull request #446 from PenguinPaul/fix-186

Fixes #186

Confirmed.