Ensure that the quantity for target criteria matches the individual item criteria when multiple target criterias are found.  Fixes #570.