Added code that would delete old factors when generating a new design

Reviewer: Chika Arevalo

Issue: GCp-9457