Added some logic to only return items that are newer then a certin time period or higher then a certin priority.