fixed editing dates in search