Fixed minor bug.
Fixed if no surveys exist.