Fixed products bug in mask.