Fixed bug with task actions not executing on restart.