fixed error when converting invalid number of bedrooms and bathrooms