The selection is directly tied to the JWO technology which almost by definition gets confused by brands whose product line labels (e.g. flavors) are too similar, which is the common case not the exception. Sure, they have the same price but then the breaks automated reordering from the DC. The only solution is to not carry variations of a product, which then leads to crappy selection. Fine for a convenience store not fine for general purpose grocery.
source: I owned a chain of specialty food retailers as well as a warehouse, and this issue even stymied humans at times!