Double clicking item that's already has the same type in a full storage structure doesn't work

Double clicking item that’s already has the same type in a full storage structure doesn’t work.

Imo the game should even have one button to remove ALL items in inventory that has already existed in a storage.