Fixed parsing error in ANAT 499
Avoid identical ANDs and ORs