A trick I have seen in this thread is to do indexing through a local slice. Though I don't know if that is still relevant.