Replace != Insert
Merge pull request #1215 from waveney/wav31

Replace != Insert