Add a if check for no communities