Adding visible filter to sub menu elments.