Fixes regression caused by #124
Merge pull request #129 from FokkeZB/patch-5

Fixes regression caused by #124