Fixed a bug in the startup sanity checks. When it had to make a fix it was trying...