Bugfix in Linear Ranking