I have a function...

CREATE OR REPLACE FUNCTION myschema."MyFunction"(IN "MyArg1" uuid)
RETURNS SETOF integer AS
$BODY$
SELECT COALESCE(MAX("MyInteger") + 1, 1) AS "Result" FROM taurus."MyTable" WHERE "MyKey" = $1;
$BODY$
LANGUAGE sql VOLATILE;
ALTER FUNCTION myschema."MyFunction"(uuid) OWNER TO myuser;

It's returning one row/column as "MyFunction", not as "Result". I have a nearly identical function - same logic, just from another table, that returns it as "Result". I can't figure out what's different about it, and it's driving me nuts. Any suggestions are appreciated.