Fixed the teamChanged hook being called on the potentially wrong team in InitPostEntity.