Added support for inner filter classes in filters