Fixed a few small bugs in the recipe class