def running_sum(a, b):
    """
    Add Expr a and b, unless either is None, in which case, return the other (None is treated as 0).
    """
    if a is None:
        return b
    elif b is None:
        return a
    return a + b