Fixed Bug on Binary Search