Handle deletion of indexes

Refs #38