add db method for getting annotation instances before a date, with limit