Fix space in if statement [] brackets. Causing error on upgrade script.

Meh.. bad if statments.