Update `HealthEndpointSupport` so that aggregate elements that don't ultimately provide a contribution are filtered out. Prior to this commit an NPE was returned when calculating the aggregate status. Fixes gh-18687