Fix the bug introduced to make the code Visual Studio compliant, increment the tld earlier.