I have dirt in storage compactor, and mealwood in plant box just next to it.
Dups stands near compactor and going to deliver dirt to plant box.
But dup always try to get dirt from the ground no matter how far it is. If there is dirt on the floor in allowed aria, and this dirt is not market as Sweep, then dup ignores dirt in compactor and goes for dirt on the floor.
Same with coal for coal generator. Just made it with fresh save and with build order.
Steps to Reproduce
Start new game, build storage compactor, place sandstone inside storage compactor. leave any sandstone laying on floor far from storage compactor. Place dup near storage compactor with sandstone. (Lock all other dups anywhere) place construct order and try to make this stupid dup to take sandstone from storage compactor.
This issue has not been confirmed by a developer yet.