fix odd cases- FSA transverse

Fix of #276.

1. get the index from binary search
2. try to return the first occurrence by checking previous element