[FIX] add logic to ripple lib to allow queries by ripple address (RT-2961)