bug fix: fragmentation produced links to null elements if tags had associated tags in source which are not part of the fragment