Bug fix in restarting compensation.