Update tutorial-17.md

Fix intermediate function to invoke the deftemplate-generated function.