Fix binary search

-_-#