[mr3248] Battleground SQL fixes.