Move query parameter to end of form