Made the new record list builder more robust so that there's no chance of a half-built list to be left behind if it crashes or dies otherwise.