restrict search within collections

Restrict search within collection box to only those displays where it's
appropriate, i.e. components and collections with components.