Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 13438)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 13439)
@@ -2170,5 +2170,6 @@
         if acc_details['bt'] == self.context.bed_type and \
                 self.context.bed != None and \
-                self.context.bed.bed_type == self.context.bed_type:
+                self.context.bed.bed_type == self.context.bed_type and \
+                self.context.bed.__parent__.__parent__ :
             self.flash(_("Student can't be relocated."), type="warning")
             self.redirect(self.url(self.context))
