unixFilter now handles windows; don't use upper bounds unless necessary