Prevent an Exception from happening.
Merge pull request #2 from thijsdezoete/patch-3

Prevent an Exception from happening.