Issue #3150732 by Dave Reid: Fixed xmlsitemap_xmlsitemap_index_links() does not subquery against the xmlsitemap table to only query for un-indexed links.