Fixed restart rule (#1072).