AI Dissertation Rescue: Fix Detection Flags & Pass Defense