Add presence check for number.

Again, the old API’s data is not valid, so we need to keep all these
checks until the new API is deployed.