Remove other curly braces from conditional