Add AND, OR and Not in PartialEval and Modify tryCompare