He was not aware that this person was a Democrat operative. I doubt if he would have had an unguarded conversation with such an individual.
From the Politico article it seems he did know.
“Loftus said that Buck, whose candidacy has been fueled in part by Tea Party members uninspired by one-time GOP frontrunner Jane Norton, was aware he was speaking to a Democratic tracker and simply made a mistake.”