Avoid null reference errors for scope which can occur with some xml-ish lookups.
1 file changed