Make ListBy safe for Groups and events