Previously this form was used to update quantities. I've only fixed simple bug, there is no changes in logic.