Fixed Loop error

Loop forgot to process the last entry, now it does!