Check whether the filter key is a valid class name before assuming that value is class settings
Merge pull request #4614 from wisoot/patch-1

Fix dispatch filters that have regular string as a key