The problem becomes only apparent when you change the "unreferenced verts color" to something different from black. Then you see weird behaviour depending on whether weight groups are not yet defined, or have been defined and then removed.
Also the display is inconsistent when you switch between solid mode and wireframe mode.
This patch solve both issues.