Because we produce tiles directly into the cache, we need this to avoid storing empty tiles into the database.