Set viaNode in nested restriction
Fix parameter type
Fix wrong behaviour when names file was empty