Corrected condition before assigning new folder name
No ticket (found while testing)
Reviewer: Darla