diff --git a/core/codegen/platform/src/main/java/org/overture/codegen/visitor/ExpVisitorIR.java b/core/codegen/platform/src/main/java/org/overture/codegen/visitor/ExpVisitorIR.java
index <HASH>..<HASH> 100644
--- a/core/codegen/platform/src/main/java/org/overture/codegen/visitor/ExpVisitorIR.java
+++ b/core/codegen/platform/src/main/java/org/overture/codegen/visitor/ExpVisitorIR.java
@@ -546,7 +546,15 @@ public class ExpVisitorIR extends AbstractVisitorIR<IRInfo, SExpIR>
 		for (PMultipleBind multipleBind : bindings)
 		{
 			SMultipleBindIR multipleBindCg = multipleBind.apply(question.getMultipleBindVisitor(), question);
-			bindingsCg.add(multipleBindCg);
+			
+			if(multipleBindCg != null)
+			{
+				bindingsCg.add(multipleBindCg);
+			}
+			else
+			{
+				return null;
+			}
 		}
 
 		PType type = node.getType();
@@ -1100,6 +1108,10 @@ public class ExpVisitorIR extends AbstractVisitorIR<IRInfo, SExpIR>
 			{
 				bindingsCg.add(multipleBindCg);
 			}
+			else
+			{
+				return null;
+			}
 		}
 
 		STypeIR typeCg = type.apply(question.getTypeVisitor(), question);
Update IR construction to guard against unsupported binds