bugfixes with indexing docs in corpus and a patch for bad subreddit titles in the data