[system][types] Fix Array.diffKey method