Fixed #23699 -- Prevented flush from loading initial data for apps with migrations.