[Core/Ticket] Fixing the complete ticket so completed tickets are auto closed.