Return valid selection from vs_to_loop when empty.

Return valid selection from vs_to_loop when empty.