Fix total time method to return correct minutes