Fix off-by-1 error
Merge pull request #100 from aalness/fix_confs

Fix off-by-1 error