Why does the "Total" function give an incorrect result?