Fixed original element's value after clearRange(). This closes #2
Merge branch 'issue-2' into devel