It is always best to upload both your Macro image and file so that it is easy for us to test.
See How to upload your macro. Instructions for uploading to an existing post are just below the main instruction.
You may also find this Macro useful: MACRO: Upload KM Macro to New or Existing Topic @KM [Pub]
Just looking at your macro image, it looks fine to me.
The only reason I can see why it would paste the "empty" case is if you did NOT choose any of the items in the List. You can easily determine this by opening the KM Preferences > Variables pane and examine the Variable "NoteProjectTab".