update error handling to NotFound

I'm guessing a copy-paste oversight.