Fixed friend ids validation