fixed NPE when changing visibility of a home with no invites (null)