diff --git a/src/main/java/net/floodlightcontroller/core/web/serializers/OFInstructionListSerializer.java b/src/main/java/net/floodlightcontroller/core/web/serializers/OFInstructionListSerializer.java
index a59d38fd3132544e07f8b37dbde600a03c814070..0388461c0b97b0474c20e864fa82e53373d768cb 100644
--- a/src/main/java/net/floodlightcontroller/core/web/serializers/OFInstructionListSerializer.java
+++ b/src/main/java/net/floodlightcontroller/core/web/serializers/OFInstructionListSerializer.java
@@ -74,7 +74,7 @@ public class OFInstructionListSerializer extends JsonSerializer<List<OFInstructi
                 } // end switch on instruction
                 jGen.writeEndObject(); // end specific instruction
             } // end for instructions
-            jGen.writeEndObject();
         } // end process instructions (OF1.1+ only)
+        jGen.writeEndObject(); // end object (either has instructions or a "none":"drop" key:value as specified above)
     } // end not-empty instructions (else)
 }