Fix is_marked_as_paid