- when retrieving list of tickets from a report, also catch !KeyError in case there are no "id" in the result columns
- ''really'' only clear the query session variables after a success of the query_tickets assignement.
- revert to global sequence when there's a result set but the current ticket is not inside