Starting in LGP/E, the mystery gift (WC8, WB7, etc) store multiple languages of data. A nickname or OT name for one language may not be the same as another. PKHeX would just return an empty string when compared.
I've adjusted the logic in the latest commit to just return the default language (english)'s OT name and Nickname. Better than returning nothing.