Fixed issue #9007: Crash when an user wants to create a new survey