Bugfix/5552 recover from invalid tickets