Seems to be a bug with stockpiles when going to a merchent.

If i seperate my 3 identify glass into 1 & 2 and make "2" into wares, so will it be a stockpile of 3 without being wares when i talk to the merchant.

Oddly enough so did my 3 lockpicks work differently, they also stacked up into 3 again even though i had seperated 2 and made it into wares, but it made all 3 lockpicks into wares unlike the identifying glasses.

Sended a save file with this.