diff --git a/src/js/assignJS.js b/src/js/assignJS.js
index b34f5481814bc238df4fff0216fb924259d6e8b9..90f277ae03ac159c3310692ad60675a93196672d 100644
--- a/src/js/assignJS.js
+++ b/src/js/assignJS.js
@@ -430,6 +430,9 @@ window.assignJobSafely = function assignJobSafely(slave, assignmentStr) {
 	} else {
 		assignJob(slave, "rest");
 	}
+	if (V.assignmentRecords[slave.ID]) {
+		delete V.assignmentRecords[slave.ID];
+	}
 };