totally artificial case, but `sum_pilots` could be `0` instead of `None` and this check would fail. it might be good to check explicitly for `None` in this case.