Fix formula for time worked