// Now iterate through each and look for invalid multiples
for (List<RequestValue> list : paramsByName.values()) {
if (list.size() > 1) {
String name = list.get(0).getName();
if (list.size() == 2) {
Operator first = list.get(0).getOperator();
Operator second = list.get(1).getOperator();
if (first == Operator.Equals || second == Operator.Equals) {
throw new InvalidRequestException("Parameter " + name + " found twice");
} else if ((first == Operator.GreaterThan || first == Operator.GreaterThanOrEqualTo)
&& (second == Operator.GreaterThan || second == Operator.GreaterThanOrEqualTo)) {
throw new InvalidRequestException("Parameter " + name + " found twice with "