Include curly braces in removeOuterCall conditionals

Remove outer call would fail to work properly if curly braces were used in inner calls.