Corrected deadlock case when move order is the same as current position