Removing data from spportal when survey is stopped. Bug fix