Fix cache_unless usage