Fixed thread filtering error