restrict bad links to the current baseurl

In some cases, bad links for a different run of a parent or sub site were being included.