Fix corpus unique term representation