Fix for task accounting.