Fixed bug where tickets can be closed without be assigned to anyone