Fix Move higher level Index related ops to IRepository #822

This line hasn't been ported (only removed). This is why the test fails.