diff --git a/src/main/resources/org/cbioportal/persistence/mybatis/GenePanelMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatis/GenePanelMapper.xml
index 9b070e64ab1..96a1d434c15 100644
--- a/src/main/resources/org/cbioportal/persistence/mybatis/GenePanelMapper.xml
+++ b/src/main/resources/org/cbioportal/persistence/mybatis/GenePanelMapper.xml
@@ -121,7 +121,6 @@
WHERE
- SAMPLE_ID IS NOT NULL AND
genetic_profile.STABLE_ID IN
#{item}
@@ -133,7 +132,6 @@
- SAMPLE_ID IS NOT NULL
AND NULL