MADS: Fix main switch statement in elementHighlighted