Fixes issue #332 with is_sample problem.