Fixed: reference to isCancelled is ambiguous