I have never had an issue with a Sony card but this does happen on occasion with all different brands. You were right to trash the card because once they throw that error, you will never feel secure in it again, even if it does appear to be ok.
I actually prefer to use 4 or 8 gig cards so...