Fix issue with original_site_name for site block=/a/b/c#123 queries, ticket #4197