Fixes removing unnecessary restarts