Crash on Map Bleuprint

I made a function to know if “click on button” is a double click.

It seems to often crash but not always in the function Add on Map in

][1] blueprint. Did i made something wrong ? Do you have a better way to write this function?

Sorry it seems to be already knonwn:

It works if i use a String as Key. i replaced Button Reference by Button display name.