Update MdxCommand.cs

when server return empty result Max() will throw ArgumentNullException. So we must add this condition
Merge pull request #2 from alekole/patch-1

Update MdxCommand.cs