Fixed a bug I introduced when reparing the addRoomToDB function.