fix(dirty_checking_change_detector): correctly truncate collection change record

Missing tests -- not really sure how to rest. Suggestions welcome.