Fixing up final OSM and IDF models if they happen to be pointing to the seed, and adding debug messages.

[#56443410]
Merge branch 'origin/develop'