Yep that looks to have gotten it. I’ve been bitten by that more than once. When you save the file (and sometimes when you change between drawing elements I think) Inkscape changes back to px as the units. I usually catch it when I move something with the tool bar and it doesn’t move the correct distance.
Peter