Dee Dee maze runner kill order

If Dee Dee is support to be Teresa then how is she immune becouse in the books they say that it took years for there to be immune in the world but it seems to weeks from the the flare is set on them to when they find Dee Dee (Teresa) is this just a plot hole or what