Fixed endless redirect on unpublished or deleted tickets