Fix another issue in url parsing