Restore prevRests logic to improve Racer performance

This will make refLists copy their entire arrays much less often.

Tested.