Ensure wrapped arrays are compared correctly in `_.isEqual`. [closes #676]