Don't rewrite literals if params are provided

Check this, rather than if params are present in the AST itself