Fix minor issue regarding sum()