I'll take you word that it's better to have logic like this here instead of in the recipes. :)