diff --git a/compendium-frontend/src/pages/Organization/StaffGraph.tsx b/compendium-frontend/src/pages/Organization/StaffGraph.tsx
index 68a5684ad8f3d60ddd3a50d4996bf8f38cabd0b1..4b11e80b12d76e19e744082a11af6743e5266f02 100644
--- a/compendium-frontend/src/pages/Organization/StaffGraph.tsx
+++ b/compendium-frontend/src/pages/Organization/StaffGraph.tsx
@@ -107,8 +107,8 @@ interface inputProps {
 
 function StaffGraphPage({ roles = false }: inputProps) {
     function validityCheck(staffdata: NrenStaff) {
-        return (roles && staffdata.technical_fte > 0 && staffdata.non_technical_fte > 0) ||
-            (!roles && staffdata.permanent_fte > 0 && staffdata.subcontracted_fte > 0);
+        return (roles && (staffdata.technical_fte > 0 || staffdata.non_technical_fte > 0)) ||
+            (!roles && (staffdata.permanent_fte > 0 || staffdata.subcontracted_fte > 0));
     }
     const { filterSelection, setFilterSelection } = useContext(FilterSelectionContext);
     const { data, years, nrens } = useData<NrenStaff>('/api/staff', setFilterSelection, validityCheck);