Check for empty array before we attempt to add authors and contributors.