Sorry if what I am adding here is obvious to most developers. I want to ensure that even new and junior developers can understand the "why".
FileMaker displays a found set's next record when one of its records is omitted. Duplicating the last record creates a new last record. Omitting the new and duplicated records displays the last record of the found set again because there is no next record.
This approach eliminates the need to change record, count records, etc. One needs only to check that a found count exists to end the loop.