Don't write nils to cache