Syntax fix in IF statement.

It ran this on Heroku with the fix. It worked.