Modify getList() to optionally select only (un)invited