0005486: Discounts don't work for variant articles assigned via category (cherry picked from commit f7dd4c3)