Fix NaN for split total amount