Fix bug when merging lexems.