Fixed filtering bug for events without dates