Change order populator to handle invalid variant_id and quantity values

I think that we probably want to use `Range#cover?` as this is the optimized version that does bounds check against `Range#min` and `Range#max` or is `Range#include?` now special cased on scalar range bounds to perform like `Range#cover?`.