Fix status code generated on delete of nonexistent record