Folders with multiple periods problem fix