When creating a ticket with a closed status the ticket is not properly marked as closed and shows up as open.