Fixes NPE issue in the union iterator
Merge pull request #32 from usergrid/USERGRID-2862-limitfix

Fixes NPE issue in the union iterator