Ignore both None and Eof pattern kinds.