Remove undefined from collector_state record