Fixed task counter mistake.