Binary search typo