CONN-517: Fix for null targets in DQ.
CONN-517: Fix for inversed if logic.
Merge pull request #528 from msweaver/CONNECT_integration

CONN-517: Fix for null targets in DQ.