(#2085) Fix replicate sequence 'number' comparison

On cloudant, sequence 'numbers' are strings. This change allows replicate to succeed where the source is on cloudant.