Add groupings to current coref list
Added functionality to change last tag to key if no selection