Fix for incorrect usage of ve.Range

Properties "from" and "to" of ve.Range should be used when
direction of the range is important.

Change-Id: I73f27abf5c90f9aad8fdd0622f71b09188af9486
Merge "Fix for incorrect usage of ve.Range"