Dereferencing a non-pointer? Color Code Keynotes by Source

I’m attempting to work through a graph that I found from John Pierson that allows you to color code keynotes by the “Key Source” parameter. I have recreated the graph in an attempt to learn how it is working, but I get errors on a few of the nodes that I cant seem to clear up. It seems to start having issues at the Element.GetParameterValueByName node in which the warning says “dereferencing a non-pointer”. Thanks for the help!

02-1-ColorCodeKeynotes-Start.dyn (11.9 KB)

Never mind I got it figured out. Thanks.