Fixing logic issue with restarts