Fixed semaphore issue

I found a bug that the cranes had filched packages from each other but
now its working great.