Better approach to /compare with two RPCs