Teams / userLogins filter is not working as expected

If you provide an invalid (non existing) userLogin to the userLogins filter, all teams are returned.

For invalid userLogins that are shorter than 5 characters, it works as expected (ok - just noticed
that it’s not that binary), and an empty array is returned (no edges).

It works as expected with a valid userLogin (i.e. returning an array of the org teams the user is a member of)

query:

query ($login: String!, $userLogin: String!) {
  organization(login: $login) {
    teams(first: 100, userLogins: [$userLogin]) {
      totalCount
      edges {
        node {
          name
          description
        }
      }
    }
  }
}

variables:

{
    "login": "<some_org>",
    "userLogin": "<some_userLogin>"
}