Update MdxCommand.cs

when server return empty result Max() will throw ArgumentNullException. So we must add this condition