Missing paren in variable check.

Missing paren in variable check. kills 500 server error problem :)