max friends validation