Refs #10674 Fix crash when loading blank matrix
Merge branch 'feature/10674_crash_loading_matrix' into develop