Fixes friend's recommendation logic.