Expect Detect Magic was never unimpeachable, since it takes three rounds of focus, can't penetrate all that much material that traps are usually behind, and can't actually do anything about the trap other than tell you that there is magic there.
Yay for solving problems that don't exist? But if it did, the wizard could just heighten the spell and invalidate the rogue anyway.