Fixed bug with unassigning equipment