wow, congratulations to me for making the dumbest condition-writing mistake that it is possible to make, woo! bug fix for event subqueries