When chunks are unloaded, the entities within them forget their scoreboard variables, and when the chunks are re-entered, the entities only have their entity data intact, but no have no memory of scoreboard variables.
Related issues
Comments

When chunks are unloaded, the entities within them forget their scoreboard variables, and when the chunks are re-entered, the entities only have their entity data intact, but no have no memory of scoreboard variables.
migrated
(Unassigned)
Unconfirmed
Minecraft 15w47c, Minecraft 1.9
Retrieved
Confirmed still an issue.