bug 1005326 - fix sql syntax for correlations
Merge pull request #2040 from rhelmer/bug1005326-correlations-filter-null

bug 1005326 - fix sql syntax for correlations