...deleting all of the roles from the target db and running the replace. Then I re-added them in. Interestingly, subsequent replaces/refreshes worked without having to do this. This worked ok for me as I only have five roles in the db in question. Could be a pain with a lot more roles involved.