Fixed bug on union and management of collection/arrays using the dot notation
SQL: fixed UNION function to recognize collection of collections