Fixed issue #29 Nullpointer when trying to join when there is no rooms