Fix for query to pull languages.

The previous one would have duplicates if we had multiple subtitle
versions.