Route build URI bugfix

Replace with default when children of the pattern are set.