FIX: port the fix to getReplicas from ReplicaManager to DataManager