Fixed bug in select_rows()