Fix streaming replication setup