support beforeDate, limit when getting AnnotationInstances