### 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
queue_name = f"queue-{short_uid()}"
        attributes = {
            "VisibilityTimeout": "69",
        }
        queue_url = sqs_create_queue(Name=queue_name, Attributes=attributes)
        assert sqs_create_queue(Name=queue_name, Attributes=attributes) == queue_url
    @markers.aws.validated
    def test_receive_message_wait_time_seconds_and_max_number_of_messages_does_not_block(
        self, sqs_create_queue, aws_sqs_client
    ):
        """
        this test makes sure that `WaitTimeSeconds` does not block when messages are in the queue, even when
        `MaxNumberOfMessages` is provided.
        """
        queue_url = sqs_create_queue()
        aws_sqs_client.send_message(Url=queue_url, MessageBody="foobar1")
        aws_sqs_client.send_message(Url=queue_url, MessageBody="foobar2")
        
        assert poll_condition(lambda: get_qsize(aws_sqs_client, queue_url) == 2, timeout=10)
        then = time.time()
        response = aws_sqs_client.receive_message(
            Url=queue_url, MaxNumberOfMessages=3, WaitTimeSeconds=5
        )
        took = time.time() - then
        assert took < 2  
        assert (
            len(response.get("Messages", [])) >= 1
        ), f"unexpected number of messages in {response}"
    @markers.aws.validated
    def test_wait_time_seconds_waits_correctly(self, sqs_queue, aws_sqs_client):