router build uri - bugfix

Use defaults if children of the pattern are set.