Fixed a bug where as_list was setting the compact value for the rows permanently instead of only temporarily while processing the rows.