Happened a few time that some item's (exact same item) won't merge together.
For instance a healing potion, you drag and drop it on another healing potion and it will switch the items instead of merging them. Then you eventually find one other potion that didn't want to merge that decides to merge with it now.
Same for resurrect scroll. I couldn't tell why that particular item seemed bug.
It wasn't stolen either.