refs #8104. This should now fix the defect.

Test demonstrates this working.
Merge branch 'feature/8104_query_mdworkspace' into develop