Fix badge caching