Repaired two minor bugs on some predicates params