It's been thrashed to death before: but why were you not squawking TA Only.
After a rapid decompression, pain, fogging etc, it is just possible that normal pilots would forget to initially select TA only prior to starting downhill. If only everyone were as good as you in these situations.