Revised find_primer_forward_index_in_segment

Not sure what I was doing the first time around.