Please block the "sell" button when filtering flat HP/DEF/ATK mainstats and you're at the weapons/helmets tab.
I was selling useless chest/glove pieces, clicked the wrong tab, and... All weapons are gone.
Another options: a 2nd checkbox with something like: "There are max leveled items involved in this sale. Are you SURE?"
That should add an extra layer of security too.
Or a similar implementation ofcourse, but right now it only takes 2 seconds to ruin your gearsets.