Remove single trailing ')' bracket