Small fix to isRefundable