implemented code for removing indexes for data of a particular instance when its AR object is destroyed - tests have passed