Added index deletion on document deletion