Hi Garrett,
You need to put your layer name in double quotes - "LeakInspection".
The example is passing an integer where you want to pass a text string as the reference. The way you have it written, the script is actually looking for a variable called LeakInspection.
That should get you over the line.
I hope this helps.
Cheers,
Gareth