@jordon The backend func, getBookings, in your code returns a list of all bookings (this was the purpose of the example).
My code snippet need to run on the backend, in a different function and it returns a list of group sessions that have at least one registered participant.