Fix bug in binary search
Release 2.1.1