Fixed bug on getRange around the last element
Updated to version 1.2.1