Fix: indent blocks that selected reversely

Blocks that selected reversely cannot be indented in the old code.