Couchbase Server

Correctly handle deleting cluster reference that's used by currently defined replications