[Shared] Fixed: Incorrect range for invalidation of characters when setting temp attributes