Design Refresh Issues (6.5.x Bug?)

I have been getting the following two error messages while trying to refresh the design of some databases:

Design refresh failed: Duplicate privilege name found

Design Refresh failed, not all specified languages were in the design template

The databases I am trying to refresh are in a 6.5.3 server while the templates are copied over from a 5.0.13 server. I have no clue of what could be happening but it only happens with a few databases.

Does anyone know how to solve this problem?

Thanks in advance for your responses,

Francis