We should probably return after this point, because there's no reason to perform a lookup if the write failed.