Method getValue should check the type of input inside InputFilter

InputFilter::getValue works incorrect and finishes with error (Missing argument 1 for Zend\InputFilter\BaseInputFilter::getValue()) when InputFilter has nested InputFilters.