Rewrite layer parameters in shortlinks correctly