Added case for reduce where base is null