diff --git a/src/Components/ApiRequest/ApiRequest.js b/src/Components/ApiRequest/ApiRequest.js
index <HASH>..<HASH> 100644
--- a/src/Components/ApiRequest/ApiRequest.js
+++ b/src/Components/ApiRequest/ApiRequest.js
@@ -20,7 +20,11 @@ export default class ApiRequest extends Component {
         prevProps.options.type &&
         this.props.options.type &&
         prevProps.options.type !== this.props.options.type) ||
-      prevProps.options.q !== this.props.options.q // props.options.q is required as proptype so will always be defined
+      (prevProps.options &&
+        this.props.options &&
+        prevProps.options.q &&
+        this.props.options.q &&
+        prevProps.options.q !== this.props.options.q)
     ) {
       this.fetchData();
     }
Build is now not failing and there are no un-needed updates and extra fetches