Fix OC-30 - "reset target" can clear targets incorrectly

    This both fixes the issue in the Segment model, and also greys out
    the context menu item when the segment has no original target
    (matching the behavior of the Segment menu).