diff --git a/templates/requests/common/common.mako b/templates/requests/common/common.mako
index 23680688089..ba35149f2ae 100644
--- a/templates/requests/common/common.mako
+++ b/templates/requests/common/common.mako
@@ -479,10 +479,10 @@
%if is_submitted or is_complete:
## An admin can select the datasets to transfer, while a non-admin can only view what has been selected
- %if is_admin:
+ %if sample.library and is_admin:
## This link will direct the admin to a page allowing them to manage datasets.
${len( sample.datasets )}
- %elif sample.datasets:
+ %elif sample.library and sample.datasets:
## Since this is a regular user, only display a link if there is at least 1
## selected dataset for the sample.
${len( sample.datasets )}
|