Well, all of Eggman's plans are flawed. And honestly, he probably just completely disregarded Tails. The last time Tails was a pain in Eggman's side without Sonic helping him was Sonic Adventure 2, and even the Doc's main focus was on stopping Sonic.
Not to mention, Tails hasn't even shown up yet, and currently knows nothing concerning Sonic's situation!