indexes -> indexes, and removing a redundant case from case matching.

Fixing a previously missed name change.