Fixed: Syntax error (need testing!)

Embarrassing error. I'll test it as soon as possible!