Fixed crash when deleting last survey or contact from list view.
Revert "Fixed crash when deleting last survey or contact from list view."

This reverts commit 01df9f00c0a3b9594fdcb3a16396930369c1ca99.
Merge branch 'feature/deletable-survey' of https://github.com/smap-consulting/sms-smap-gateway into feature/deletable-survey