Fix bug with XQuery Annotations.