To make sure I understand --
They sent an email inviting you for an interview but you already had an interview, so it didn't make sense. Shortly after, they sent you an email saying it was a mistake.
I don't see the problem. They didn't sent you an acceptance email and then take it back...