Fixed crash bug when saving multiple recipes as beerxml