And the raw data has the entries you mentioned with reversed rx and tx.. I cannot say why.
One entry will be the license for the tower site/repeater, which transmits on the "receive" frequency, and receives the "transmit" frequency (as far as scanners are concerned). Then there has to be a license entry for the radios authorized to use that service, which is the reciprocal of the tower site (since radios transmit on the "transmit", etc).
The part I can never understand is why people are continually reinveting the wheel with regards to TAFL searches. Industry Canada has one on its site that works great with the information that's updated constantly, daily. Granted, it doesn't do things like search by postal code, though you CAN search by area around a lat/long, which doesn't take long to come up with these days, with Google Earth et al.
No offense to you and the others that work hard and come up with the programming to do this. It's unfortunate that there's no API that you can link to in order to do the unique searches you guys do (and let Lindsay link to the TAFL from within RR!). Besides the fact that the downloadable text files of the TAFL have truncated data fields, they're only updated once a month - not dynamically.