changed insert and updates on activation for runcaseversions be separate to remove issue with replication to slaves.  also remove duplicate rcvs, if they exist.
Merge branch 'master' into replication-fix
Merge branch '1.4.3' into dev