Making sure that no generated or chosen layers are displayed in layer switcher