Fixing bug introduced in where the preflight would pass but running would fail.