Fix primitive restart setting not honored.