First level entries must have parent id set to 0 instead of their parent location alias id.
There are two cases when alias id needs to be corrected:
1) location is special location without URL alias (location with id=1 in standard installation)
2) location is site root location, having special root entry in the ezurlalias_ml table (location with id=2
in standard installation)