Fixed issue related to printing out multiple records related to the same
key name.