One more sily fix for selection algorithm