Fixed a bug where function evaluation would replace characters in function names.