fix bug where some quantity exists, but the # trying to be ordered is too many