### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

with python boto3 client

- send a message to fifo queue with MessageGroupId='1'
- receive the message
- delete the message
- send another message to the queue with MessageGroupId='1'
- try to receive the message, get none
- check message availability with get_queue_attributes, get `{'ApproximateNumberOfMessages': '1', 'ApproximateNumberOfMessagesNotVisible': '0', 'ApproximateNumberOfMessagesDelayed': '0', ...`

### Expected Behavior

expecting to receive message from the queue

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

docker-compose up


### Environment

```markdown
- OS:MacOS Sonoma 14.2.1
- LocalStack: latest
```


### Anything else?

I tried to run with Rosetta, no result
dlq_arn = sqs_get_queue_arn(dlq_url)
        queue_url = sqs_create_queue(
            Name=f"test-queue-{short_uid()}.fifo",
            Attributes={
                "Fifo": "true",
                "ContentBasedDeduplication": "true",
                "VisibilityTimeout": "60",
                "RedrivePolicy": json.dumps({"deadLetterTargetArn": dlq_arn, "maxReceiveCount": 2}),
            },
        )
        response = aws_sqs_client.send_message(
            Url=queue_url, MessageBody="foobar", MessageGroupId="1"
        )
        message_id = response["MessageId"]
        # re
        aws_sqs_client.receive_message(Url=queue_url, WaitTimeSeconds=1, VisibilityTimeout=0)
        aws_sqs_client.receive_message(Url=queue_url, WaitTimeSeconds=1, VisibilityTimeout=0)
        # af
        aws_sqs_client.receive_message(Url=queue_url, WaitTimeSeconds=1, VisibilityTimeout=0)
        # ch
        response = aws_sqs_client.receive_message(Url=dlq_url, WaitTimeSeconds=10)
        assert (
            len(response["Messages"]) == 1
        ), f"invalid number of messages in DLQ response {response}"
        message = response["Messages"][0]
        assert message["MessageId"] == message_id
        assert message["Body"] == "foobar"
    @markers.aws.validated
    def test_dead_letter_queue_max_receive_count(self, sqs_create_queue, aws_sqs_client):
        queue_name = f"queue-{short_uid()}"