Fixed bug in GenericModulatingProduction