:bug: Fix invalid range registered if the tail and head are inversed

Closes abe33/atom-minimap-selection#2
:memo: Update History.md
Prepare 3.2.1 release