Fixed a bug in PortStatus decoding