Fix content node lookup for resources.