Fixing issue with lead categories not updating