filter join type fix