searching on badge number, email, and group name all work again

Normally saying ``.filter(Attendee.badge_num == x)`` is exactly the same as ``.filter_by(badge_num = x)`` but in this case we have to use the former because this query involves multiple tables.