Fix issue with arrays
Add .parent(). Fix issue with arrays