fix conditional handling of unicorn recipe