Can`t use logicalAnd in a validator