Fix indexing on pymongo result.