Transitive queries were not ignoring tombstoned IdeaIdeaLink, which gave strange results
Remove debug output