Googling memory cards and damage, there are tons of articles on the internet that reinforce the fact that magnets cannot harm memory cards - they are an electronic storage media, not magnetic. The instances they cite where it MIGHT be possible to damage a memory card would involve high amounts of magnetism rapidly turned on and off, such as with a large electric magnet, which would produce its own electric current, or a very large magnet, such as an MRI machine, which would destroy it, possibly for a similar reason as the previous example. The basic answer is that while magnets will erase floppies or hard drives, they don't touch flash-type (electronic) memory. They do say that they are susceptible to many common errors, such as dirt, the accidental drop of water, excessive heat, etc.
Another link, maybe clearer than the other. Other than that somehow the data vanished from the memory cards mentioned above, do you have any proof that it was from magnets, and if so how were they exposed to such high magnetic forces? Just curious, mostly because my first gut feeling, before I started actually looking for an answer, was that magnetic exposure would be highly undesirable.
Fred