Minor bug fixes in Dynamic Sampling