Fix Issue 4725 - std.algorithm.sum()