MBS-5956: stop comparing undef as a number in Edit Medium
Merge remote-tracking branch 'ian-bb/mbs-5956-silence-ne-warning' into beta

* ian-bb/mbs-5956-silence-ne-warning:
  MBS-5956: stop comparing undef as a number in Edit Medium