snapshot: Move 'newest' logic out of main compilation loop and evaluate the reflist afterward.