As you say here it doesn't do that.. it finds all pending invites.. so maybe move this to the user?