You should watch:

Stargate Atlantis: Season 4 Episode 17: Midway

Perhaps you might want to check out The Order of Watching Stargate