fixed bug with expired tickets when no hard deadline is set