Since e9f500d7 it is no longer allowed to specify a function_range for a minimization goal. Also, the scaling is only done with the function_nominal since 5ac6be99, and function_nominal should therefore be `max_deviation`. Closes #1062