ReferenceSearch: fix non-physical LocalSearchScope case