Merge "Fix app crash if the selection is from reverse direction." into rvc-dev