On the time evolution of the cometary influx in the region of the terrestrial planets