Project with DepthProbe simulation cannot be opened

Issue #329 (closed) is closed but the problem has not been completely resolved.

  1. Create DepthProbe instrument
  2. Create sample
  3. Simulate
  4. Save project
  5. Open project --> error

Screenshot_from_2023-02-23_22-30-42