modified a query which fetches attending users from user object using m2m attribute