[AMC] Fixed issue with quanity matcher