In Bamidbar Rabbah 10:5 it says that Shimshon's mother was called Hatzlelponi:
"אִמֵּיהּ דְּשִׁמְשׁוֹן הַצְלֶלְפּוֹנִי שְׁמָהּ, וְהִיא מְיֻחֶסֶת עַל שֵׁבֶט יְהוּדָה, שֶׁנֶּאֱמַר (דברי הימים א ד, ג): וְשֵׁם אֲחוֹתָם הַצְלֶלְפּוֹנִי."
Translation: The mother of Shimshon, her name is Hatzlelponi, and her lineage traces to the Tribe of Yehudah, as it says (Chronicles 1:4:3): "and the name of their sister was Hazlelponi".
However, in the gemara in Bava Batra 91a it says that her name was Tzelelponit:
"The mother of Samson was named Tzelelponit".
The midrash in Bamidbar Rabbah bases itself on the name used in the Tanach. Why then, did the gemara use a different name (albeit only slightly different)?