Bugfix for getting the anchor text of a more complicated header.