Fix ignorePos calculation. Fixes #33