insertCoordDocAndChangeOrigCollEntry() defines 'originalCollType' and 'collation' but they are never used.