Fixed bug in StartupDelay handling