Fix a bug while rescaling global topic counts