Fixes #13 adds UNION queries
Merge pull request #22 from dotCMS/issue-13-slow-query

Fixes #13 adds UNION queries