It is there so that the first element will be kept. Comparing NaN for equality with any number will always return false, even when comparing with another NaN. Conversely "NaN is not equal to number" is always true.
In the case of the additional boolean it could be any other value, because the boolean shift register is initialized to true.