Fix prepare_select_test.