Remove undefined from connection_state record