Fixes #29

The fix seems simple enough. Please review.