Properly cache parent/child queries in the case they are wrapped in a compound filter.
Closes #2971
Changed hunspell token filter factory to use "dedup = true" by default