### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

The provided example does not put a message in SQS.

### Expected Behavior

The provided example puts a message in SQS.

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

The following scripts returns no items in SQS, but it should. The bit detail: foo is not matched.

```
awslocal events create-event-bus \
    --name detail-bus-1

awslocal sqs create-queue \
    --queue-name "detail-sqs-1"

awslocal events put-rule \
    --name "detail-rule-1" \
    --event-bus-name "detail-bus-1" \
    --event-pattern '{ "detail": { "foo": [ { "exists": true } ] } }'

awslocal events put-targets \
    --rule "detail-rule-1" \
    --event-bus-name "detail-bus-1" \
    --targets "Id"="detail-target-rule-1","Arn"="arn:aws:sqs:us-east-1:000000000000:detail-sqs-1","InputPath"="$.detail"

awslocal events put-events --entries '[{"DetailType": "test", "Source": "aws.test", "Detail": "{ \"foo\": \"bar\" }", "EventBusName": "detail-bus-1"}]'
awslocal sqs receive-message --queue-url http://localhost:4566/000000000000/detail-sqs-1
```

### Environment

```markdown
- OS: macOS 13.3.1
- LocalStack: 1.4.0
```


### Anything else?

_No response_
]
        aws_client.events.put_rule(
            Name="ScheduledLambda", ScheduleExpression="rate(1 minute)"
        )  
        cleanups.append(lambda: aws_client.events.delete_rule(Name="ScheduledLambda"))
        aws_client.events.put_targets(
            Rule="ScheduledLambda", Targets=[{"Id": "calllambda1", "Arn": fn_arn}]
        )
        cleanups.append(
            lambda: aws_client.events.remove_targets(Rule="ScheduledLambda", Ids=["calllambda1"])
        )
        aws_client.events.put_events(
            Entries=[
                {
                    "Source": "MySource",
                    "DetailType": "CustomType",
                    "Detail": json.dumps({"message": "manually invoked"}),
                }
            ]
        )
        def check_invocation():
            events_after = aws_client.logs.filter_log_events(logGroupName=f"/aws/lambda/{fn_name}")
            
            assert len([e for e in events_after["events"] if "START" in e["message"]]) >= 1
            assert (
                len([e for e in events_after["events"] if "manually invoked" in e["message"]]) == 0
            )
        retry(check_invocation, sleep=5, retries=15)
    @markers.aws.validated
    def test_put_events_nonexistent_event_bus(