FIX: issue #565 (Nested COLLECT INTO crashes)