fix search-in-rotated-sorted-array-ii