It makes sense. Although you did the wrong thing, the way to deal with it afterwards is still worth learning.