Fix Py3K compatibility for compressed correlation