## 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/models/event.py
class Meta:
        indexes = [
            models.Index(fields=["elements_hash"]),
            models.Index(fields=["timestamp", "team_id", "event"]),
        ]
    def _can_use_cached_query(self, last_updated_action_ts):
        if not self.team_id in LAST_UPDATED_TEAM_ACTION:
            return False
        if not self.team_id in TEAM_EVENT_ACTION_QUERY_CACHE:
            return False
        if not self.event in TEAM_EVENT_ACTION_QUERY_CACHE[self.team_id]:
            return False
        if not self.team_id in TEAM_ACTION_QUERY_CACHE:
            return False
        
        if last_updated_action_ts > LAST_UPDATED_TEAM_ACTION[self.team_id]:
            return False
        return True
    @property
    def person(self):
        return Person.objects.get(team_id=self.team_id, persondistinctid__distinct_id=self.distinct_id)
    
    
    
    
    @property
    def actions(self) -> List:
        last_updated_action_ts = Action.objects.filter(team_id=self.team_id).aggregate(models.Max("updated_at"))[
            "updated_at__max"