Fix for a crashing bug when giving a unit to itself!