explicit braces to avoid ambiguous ‘else’

Signed-off-by: Mattias Andrée <maandree@operamail.com>