fixed attendee query