Don't include xposted research in related stories. Fix broken query.

The `$pro_channel` and `NOT EXISTS` lines exclude the xposted Pro content. The rest of the changeset fixes a bug that causes the related query to fail to generate properly if the given post doesn't have terms in all the supported taxonomies.

See: https://github.com/GigaOM/gigaom/issues/6283