Update selection on layer hidden.

Use set rather than list search for look-up.