Issue #2249723 by andrei.dincu: Add hook_query_TAG_alter() in xmlsitemap.module