FIX: Resend only pending invites (PR #13403)

The Resend Invites button used to resend expired invites too, which was unexpected because the button was on the Pending Invites page.

GitHub