Adding measures to beginning of score clears entire score

Steps to reproduce:

  • select one or more measures including the first measure
  • click “add before”

Result:

  • All music in the score is erased (can be undone with CTRL+Z, fortunately)