Added max time interval to merge posts automatically.