Limit messages retained in dataset