Initialize inputAssertions only when proofRecipe is non-null (#2325)