Now the storage is set to 0 if not found in the database. It is useful
because it is the only resource that can be unavailable even if the
resource is in the database.