file: fix bug with maxerror handling when matchall was false
file: fix bug with maxerror handling when matchall was false

Don't use MaxErrors from the matched file var, as the Search field has
not been set here. Use MaxErrors from the parent Search type we are
currently inspecting checks for instead.

ameihm0912/mig,mozilla/mig,ameihm0912/mig,mozilla/mig,mozilla/mig,ameihm0912/mig,mozilla/mig,mozilla/mig