bug fix for study migration encountered when preparing for maelstrom upg...

...rade