Change Ticket Entity action improved to create ticketes if there is no active ticket