Improve union handling
Fix handling of empty projection
Merge pull request #845 from querydsl/i842

Improve union handling