Issue #21977:conditionally update shiphead_shipchrg