Array selection is skipping records

See this recent thread about loops skipping every 32nd iteration:

and specifically this:

— which yours does.