Refs #6987. Correct presentation of mask for SANS2D

Find the correct spectra number for empty loaded workspaces.
Merge remote-tracking branch 'origin/bugfix/6987_sans_display_mask'