Fixed vacation check on checkInvitation.