Update BaseInputFilter

If value is required, it must be set in $this->data[].
If the value is set and it should not be empty, it must be invalid, even if not required.