Added extra checking for the design factor before parsing it to integer

Reviewer: Mae Turiana

Issue:  GCP-10103