Fixes 1102925: Unassign hosts before deployment delete