Kudos to your wife. She took a stand AND educated someone.
It sounds like the SIL was just ignorant. People will sometimes say what they think everyone else believes, just to make conversation and appear to have an opinion. Once the excellent wife explained, it sounds like the SIL was able to adjust her thinking.