fixes if clause for members
Merge pull request #329 from Kae7in/houses_fix

fixes if clause for members