Merge pull request #17811 from mrnugget/fixes_nested_association_preloading

Adds preloaded_records method to NullPreloader - fixes #16070