fix bug where tip with search stored the internalKmers rather than the ids

@anbangx