Fix getitem

I discovered that this small fix probably fixes #8, without the need for any compatibility options.