DQD is Misaligned after Renaming a Filter

Reported for version 9

Problem

Changing a filter name in the File Explorer, generating the files and running the .bat files resulted in misaligned Dashboard. When checking for filter entries, it seems that the same filters appear multiple times.  

Solution

The problem can be caused by duplicate lines in the table in the DQ Datamart. Duplicity might have been caused by copying projects between environments. In order to resolve the problem, you should delete the duplicate lines in the table in the DQ Datamart. Note: if you copy a project into your model from backup, it is recommended to delete all DQD tables when it is started for the first time, to create new tables. The .metadata folder should be deleted and restored with the model as well.