Cata - GetTalentGroupRole returns wrong value

GetTalentGroupRole(GetActiveTalentGroup()) while specialized as a Protection Paladin is returning “DAMAGER” and when specialized as a Retribution Paladin is returning “TANK”. Holy is also returning tank, though Holy and Ret were both tested as the secondary talent group.