Fix reference to missing MAX_PRODUCTS constant