Handle the case only one geometry is selected correctly.
Merge pull request #154 from TomFischer/FixGMSHBug

BugFix: Handle the case that only one geometry is selected correctly.