Update recipes.js

This looks to be getting undefined, which turns the condition reverse, this should fix it.