Fixing wrong variable in sample code. Closes #75