Simplify code at a few places

Remove some duplicate checks,
and unnecessary errors.
There is nothing inherently wrong with annotations with no targets. (Page comments, replies, etc.) We just have to give them an empty array for targets, and go on. Nothing bad will happen.