Changed if statement to use brackets as discussed.

Added brackets for if statement - see https://github.com/phiamo/MopaBootstrapBundle/pull/783 discussion.