bdi4jade

Details

diff --git a/bdi-jade/src/bdi4jade/core/Intention.java b/bdi-jade/src/bdi4jade/core/Intention.java
index 344a0c0..b92012a 100644
--- a/bdi-jade/src/bdi4jade/core/Intention.java
+++ b/bdi-jade/src/bdi4jade/core/Intention.java
@@ -191,7 +191,9 @@ public class Intention {
 						+ " could not be instantiated.");
 				e.printStackTrace();
 				this.currentPlan = null;
-				options.remove(selectedPlan);
+				for (Set<Plan> plans : options.values()) {
+					plans.remove(selectedPlan);
+				}
 			}
 		}