Bug fix: Utility function functionValue broken