Fixed an issue with having more that one record of the same name.