At first I was not sure what you were asking. After looking more closely, I think I can answer your question.
First of all, you need to initialize your shift register. This is the array of Boolean results. The first time through it works OK, but subsequent runs are also added on instead of replacing the results, even though you used a local to "clear" the array first.
You are adding 2 to the iterations and indexing on the new number. This is a so that you skip the first two "bad" values. Therefore, you only have 13 data points and should only be running the FOR loop 13 times. Change the FOR loop count constant to 13 (or get the array size and subtract 2 and wire it in if the number of tests is variable).
Also, there is an 'In Range a
nd Coerce' node that will perform the two tests and the AND all in one node. This was not an error, of course, but it does make it a bit easier to read.