Fixing bug when there are no released tickets