bug: fix indexing
Merge pull request #271 from dennishendriksen/master

Bug: fix indexing