added and then fixed bugs for feed date filtering