The reset_all_data() function used `ContentPage.store_id is not None` which is a Python identity check (always True), causing it to delete ALL content pages including platform defaults. Same bug in print_summary() caused the count to always show 0 platform pages. Fixed both to use proper SQLAlchemy .is_(None) / .is_not(None) syntax. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>