## Bug description

Creating a selector with an attribute isn't working at all.

`[data-attr="bla"]`

## Expected behavior

It should work

## How to reproduce

1. Create action
2. Add an attribute in the selector
3. 


## Additional context

The reason for this is that we store the attributes as `attr__data-attr` but we do not add `attr__` in the filtering. I am working on a solution.


#### *Thank you* for your bug report – we love squashing them!

posthog/test/test_event_model.py
action = Action.objects.create(team=self.team, name="watch movie")
        ActionStep.objects.create(action=action, selector="a[data-id='whatever']")
        action2 = Action.objects.create(team=self.team, name="watch movie2")
        ActionStep.objects.create(action=action2, selector="a[somethingelse='whatever']")
        Person.objects.create(distinct_ids=["watched_movie"], team=self.team)
        event = Event.objects.create(
            team=self.team,
            distinct_id="whatever",
            elements=[Element(order=0, tag_name="a", attributes={"data-id": "whatever"})],
        )
        self.assertEqual(event.actions, [action])
    def test_event_filter(self):
        action_user_paid = Action.objects.create(team=self.team, name="user paid")
        ActionStep.objects.create(action=action_user_paid, event="user paid")
        Person.objects.create(distinct_ids=["user_paid"], team=self.team)
        event = Event.objects.create(event="user paid", distinct_id="user_paid", team=self.team)
        self.assertEqual(event.actions, [action_user_paid])
    def test_element_class_set_to_none(self):
        action_user_paid = Action.objects.create(team=self.team, name="user paid")
        ActionStep.objects.create(action=action_user_paid, selector="a.something")
        Person.objects.create(distinct_ids=["user_paid"], team=self.team)
        event = Event.objects.create(
            event="$autocapture",
            distinct_id="user_paid",
            team=self.team,
            elements=[Element(tag_name="a", attr_class=None, order=0)],
        )
        
        self.assertEqual(event.actions, [])
class TestPreCalculation(BaseTest):