not sure why Set union doesn't work properly for Ngrams