Add missing return statement after call to Error() in studies.go