Added check to see if membership list is empty.