re #8438: Correct on_load_sample method.