This is what I found out was happening. The list of function names had spaces at the end of the function name
i.e. myCamelCaseName had spaces after the last 'e'
Once I removed the spaces at the end, everything worked fine.
Now I did this through a search/replace but is there something that will return the string with the trailing spaces stripped off ?