Added max/min quantity fields.