Fix bugs in new AND, OR, & anyRow functions