Fixed bug causing crash when creating landlord