Just a thought.
If the foam truly "filled" the insert, you may want to drill out the center before trying to tap it. The tap will clean the threads, but, if the tap cannot advance be cause the center of the hole is blocked, you could strip the threads.