Remove empty fields from submit url