The code was not expecting that the filter callback could be defined with a class name as a string. [MAILPOET-5365]
[MAILPOET-5365]