indexes -> indexes, and removing a redundant case from case matching.
Fixing a previously missed name change.
Merge pull request #4 from stuntgoat/minor-modifications

Fixing test compile error, and changing indexes -> indexes. Removing a redundant case from case matching.