Change order populator to handle invalid variant_id and quantity values

@dkubb Actually I consider this constant name misleading. It does not cover the full integer range. I'd name it QUANTITY_RANGE.