Updated the return for uniqueArrayItems