Replication constraint error on ca_query_version table