Added a small fix to round the total