ui console: improve needless diff detection