Fixed an issue where setting minhashes would fail for topics without any xml.