@magicalyak Just tracked down the issue this script was added against.
and the associated commit:
Hope that helps.