The glitch was visible in Detail View (in both the Arrangement and Session View), and would only appear in automation segments not covering the full track height.
In order for the script to function correctly, it is recommended to update the Minilab MkII Firmware to the latest version available.