PICARD: use current object for inout(), not just Frm
SCUBA2: check if SEQ_TYPE is in the hdr before testing its value

SEQ_TYPE may be in the subheaders which gives an error when querying
its value in the hdr(). Protect by checking if it's defined first.