The problem is that the record ID is not selected when the trash can is clicked.
One way (probably the better way) to do this is shown in @Teodor's tutorial:
The way that I have done this prior to the Flow component is to assign a Data Detail component. If you prefer to do it that way, then come back here and I will show you.