handle multiple data collector case

This fixes a bug when authoring a multiple prediction if the original line is deleted then new lines that are created break.