Bugfix for infinite values in CMEST target function