util.deresolve: crash fix (needed re), uniform filter was 0 for all dw.

Also, fix tests.