Database diagram, small bugfix