fixed bug: first instance of a duplicate caused shows to stop retrieving ids also, recursion went really deep because there were so many duplicates.