How to group (beam) a group of notes with a grace note?

Hello!

Here is the issue I am having

Screenshot 2024-01-27 at 17.52.17
When beaming a group of notes I get this beaming group… The grace note should not be part of the beam. How can I fix this?