issue #22534: Get lazy loading to work in a locally filtered context