Fixed a bug that would cause incorrect results when having multiple mx records