Fixes bug 1097058 - Prevent survey activation without questions

It was created as just a method and would not run automatically.