diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/index.js b/assets/src/scripts/monitoring-location/components/hydrograph/index.js
index 0a93f41a42ea7db3c9fb83937dbec59ae7510483..43d7a814e3beffad88a8f6e94130e4f48b711ad4 100644
--- a/assets/src/scripts/monitoring-location/components/hydrograph/index.js
+++ b/assets/src/scripts/monitoring-location/components/hydrograph/index.js
@@ -103,7 +103,7 @@ export const attachToNode = function(store,
 
     let fetchDataPromises = [fetchHydrographDataPromise];
     // Fetch waterwatch flood levels
-    if (config.GAGE_HEIGHT_PARAMETER_CODE in config.ivPeriodOfRecord) {
+    if (config.ivPeriodOfRecord && config.GAGE_HEIGHT_PARAMETER_CODE in config.ivPeriodOfRecord) {
         const fetchFloodLevelsPromise =  store.dispatch(floodDataActions.retrieveWaterwatchData(siteno));
         // If flood levels are to be shown then wait to render the hydrograph until those have been fetched.
         if (parameterCode === config.GAGE_HEIGHT_PARAMETER_CODE) {