fixes #205 so survey tab does not show when survey uneditable