Hello Zorro, is it possible that you are using any mods that modify the Unit Panel?
Try testing the mod alone to see if the error persists, as I can't replicate the issue.
EDIT: Oh, and the Building Finished units is part of Machiavelli's Modder Snippets, it's intentional.