widget: fix survey widget when project does not use survey