return nil when there is no match so a 404 is properly returned