The president twice referred to Afghanistan when clearly talking about the situation in Iraq.