fix missing heb_type_code in query - refs #5186