bugfix regarding the highlighting of unused relations