found a terrible bug with get_lang_ative while used in a loop when testing against string. Rewrote function to call directly to SitePress class method