Enhancement: Add last_seq to the result from replicate

Add the last sequence number to the result returned by replicate. It's an aid in troubleshooting if nothing else.