Fix reboot bug creation logic.