duplication removal -- date extraction in plans controller