Luckily I had this thread already opened in another tab this time…
For future reference, please read this thread on how to post code nicely on the forums!