It turns out that this change in colorspace is by design. ImageMagick detects the image can be changed to Grayscale. This will save space when the image is saved. If you want to get the original colorspace you should use the following code:
image.GetAttribute("tiff:photometric");