Return error code of the worst problem (checking for minimum of the
two status values collected during decoding)