cw.c: fix test for no matches defined.