Core/Battleground: Fix scoreboard

Fix scoreboard broken in 07d793b94b60941ea08fd6170d8165994452c49c . A local variable in a loop stored data of the iterator before incrementing it.
Merge pull request #10730 from jackpoz/scoreboard_fix

Core/Battleground: Fix scoreboard