[B] Added a filter to checkiffriends when checking if friend request sent or friend request received