I've had a similar problem where it would sometimes think my lineout speakers also have a microphone. This trick doesn't work because it completely removes the "Internal microphone" option, replacing it with a nonfunctional "External microphone" option.