Thanks for wrapping the code, as the pretty quote marks caught me. I had cut & pasted the above code (before you wrapped it) into my code and it took quite a while to figure out what was broken. It wasn’t until I pasted the code into a different editor with different fonts that it was clear that they were the wrong quote marks.
Why a forum that deals with code has a feature that converts quote marks into pretty quote marks is beyond me. I’m not a regular in this forum and didn’t know about the back-ticks. Can’t you disable this pretty quote feature?