Added support for AND, OR, ISTRUE, and EQUAL factor functions.