Bugfix/10820 fix convert

Fix issue reported as part of beta testing regarding the use of ConvertMDHistoToMatrixWorkspace.