fix bug for self comparison in graphics.dotplot() when --skipempty is on