Updated validator to deal with 404s.