Fix getValue, setValue, and setOperator to support -range and empty value