Select subset of items before selecting metadata.

Fix for #1433; previously, unique items were selected after selecting metadata, on objects instead of only youtube IDs.