Fixes the regression introduced by my previous commit
Merge pull request #36 from gouessej/master

Fixes the regression introduced by the previous commit