Fixed migration and ban caching