Since the default column name is "max(myValue)" perhaps the wrapper pukes on it. Did you try explicitly naming the column to something using an AS clause?
Since the default column name is "max(myValue)" perhaps the wrapper pukes on it. Did you try explicitly naming the column to something using an AS clause?