Fix transform params swap error;
Only swap transform params if t is not already a string or function