replace target only if default view is set

then nested view can appear at the end of breadcrumb list
Merge pull request #18 from yoichi/JENKINS-20616

[FIXES JENKINS-20616] replace target only if default view is set