Fix duration_in_hours