I would give some thought to the data starting at row 8 and the array starting at 1.

When you delete row i on the first loop you are deleting row 1.

When you delete the row it may need to be I+7 in order to match the array to the range.