Adding condition to prevent non numerical friend entries