Fix: PE: Correctly detect empty tags