Job filtering bug fix