Fixed typo
Updated getMailingListsToArray function