Some fixes when accessing anonymous surveys -refs #6829