Update helper of render_if_table_empty.