Fix yet another syntax error

I wrote this on a mobile device, so it's not easy to spot misplaced brackets and such.