Fix issue with duplicate declaration of isArray variable, probably from merge