Allows naive implementation to return every index.