added 'older' and 'newer' conditions to the filterBy/findBy functions for date comparisons