Fixed fatal error when deleting a poll
Fixed big XSS problems in open survey module