Filter hook for ticket expiration.