I think that commenter meant that the family members with the home were the ones who had those problems (I've edited my comment to be clearer) -- but you raise a good point: sheltering a homeless family member with such problems wouldn't necessarily help them, and it may be significantly detrimental to your own situation.