Fix bugs in new AND, OR, & anyRow ffunctions