These should probably be in the opposite order - deactivate first, then release the claim.