Fixes DevBoost/JaMoPP#14 as described in the issue