You can try to sort both inventories by heaviest first, that worked for me. Sometimes it fails as well, though, then i just switch the sortings until the stuff moves again.