(#1402) Fix replicate error handling on get error

Call complete callback only once
Add test for get error results