Fixes broken room locking functionality.