Fixed issue with creating closed tickets not being marked as such.