diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 5e3f2466cd4fcc20cf6e389c742221e5afcceadf..a6ab55a4e4dc265293f4dc57c05dedf8b8c9eaeb 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -657,6 +657,18 @@
 <<if ndef $nursery>>
 	<<set $nursery = 0>>
 <</if>>
+<<if ndef $NurseryiIDs>>
+	<<set $NurseryiIDs = []>>
+<</if>>
+<<if $NurseryiIDs.length > 0 && typeof $NurseryiIDs[0] === 'object'>>
+	<<set $NurseryiIDs = $NurseryiIDs.map(function(a) { return a.ID; })>>
+<</if>>
+<<if ndef $nurserySlaves>>
+	<<set $nurserySlaves = 0>>
+<</if>>
+<<if ndef $nurseryBabies>>
+	<<set $nurseryBabies = 0>>
+<</if>>
 <<if ndef $Matron>>
 	<<set $Matron = 0>>
 <</if>>