Fixed a bug in RankingAndCrowdingSelection
Minor changes