Fix for issue when lb or ub == end_idx in FMIndex::backward_search