Handle unexpected annotation nodes by ignoring them