Importing dashboard in chart use the wrong database

I was importing a dashboard. I have multiple clone of the dashboard with different datasource pointing to different database in the cluster.

The issue is when I import one and some of the data in the database is not properly supported by a chart, it start pointing to another database. So now i have a chart that is supposed to have
datasource1: databaseA - collection1
datasource2: databaseA - collection2
but i end up having
datasource1: databaseB - collection1
datasource2: databaseC - collection 2

The worst part is if i do the chart manually i can create them, the wrong data is managed properly. (wrong data is null value in some field). How does using another database that is not the one reference in the chart file a good idea ?