Fixing survey link generation