jsonrewriter: OfferCancel check fix. WC-1376 #close.