Adds curly brace to elsif statement