fix ReplicationSlotsCountDBSlots for dropping unrelated databases

YAMAMOTO Takashi