Fix crash in claimOffer()