fix for comparison on empty surveys