append All Records fix

When you grab all records, before appending them to the array, first
erase the array then build a new one.