Fix an invalid array index
Merge branch 'master' of github.com:pcolby/bipolar