fix to allow multiple comparison operands on an attribute