Made friend checking method more consistent