Fixes issue where indices are not cleared after calling `#touch` on an object.