Removed incorrect usage of InputFilter::isValid'