Fixes bug when trying to unassign ticket