Maybe you have more than one stack of superior iron ores. One stack has 100 while the other one has less than 100. You clicked on the stack of ores with less than 100 and tried to sell more than what that stack has, and that's why you're getting the problem.
If not, then maybe they did.