Added syncronisation around publishResults
Further fix to filtering