This change prevents accidentally overwriting the previous firmware before the new one has been marked as booted.