I do not know what to choose in this sentence: 了 or 过. In my opinion:
(1) 我去了他家，知道他住在哪里. (I had been to his house)
(2) 我去过他家，知道他住在哪里. (I had had the experience of being in his house)
Question: Is what I think correct? If wrong, please explain it to me.