Ommit duplicate line with whenM.