Handle extra brackets in guard expression