Added simple support for indexes; find on indexes

This breaks the test suite for now.