Fixed issue #8762: Invitations are sent even if no row was selected in token grid