Handle NotFound in the proper manner.