That's the five, four loses to the Cards and one win by the Nats.
Not necessarily. If the Dodgers were to get swept, one of the other teams, Pittsburgh or even Philadelphia or Milwaukee could move ahead of them to the top non-wild card team position so the magic number would then be calculated using their record instead of the Dodgers.
Or they could sweep the Cardinals and push them down to the top non-wild card team position, making the Cardinals record the one used to calculate the magic number.