Quick tweak to part of brandsafe task code