fixed an issue where the offsets in matched terms didn't translate to []byte indexes, needed to use runes. also force lower case as duplicates of mixed case were being returned.
Merge branch 'devel'