Add filter on reasoner output

Add filter on reasoner output