Update the SQL Script to verify the RecipeState is active