Fix scoped samples exiting immediately!