Fix transform params swap error (Issue #777);
Only swap transform params if t is not already a string or function