If the result is a single parameter (p in the included test case), findAllConstants returns a new Expression, not a modified one.