Fixed a few last issues with index and range operators, now can handle
multiple indices.