Updates to allow this recipe to work.

Trying to use this with ariadne was not working for me. This pull request contains some minor fixes I made to get everything working as expected.