Issue #3115257 by larowlan: When using match ALL, the back-fill logic can miss matching items when the quantity is low