Issue #2898903 by tetranz, alexpott, smustgrave, immaculatexavier,...
Issue #2898903 by tetranz, alexpott, smustgrave, immaculatexavier, prasanth_kp, timmillwood, catch, vinaymahale, rajandro: Terms lose <root> as the parent when editing
(cherry picked from commit 45921343)