Fix bug introduced in commit #ced6bfa

(Thanks to ehamberg)
Merge pull request #8 from jmnotin/master

Fix bug introduced in commit #ced6bfa