OK, I'll say this carefully! Let's just say that I can see how it could happen! Doesn't make it right, but....
So, you did the right thing. You made it clear why it can't happen again, and you didn't go into long lecture mode! See how that works out. I think you did well!