If any matter required to be inserted in or indorsed on any process be omitted, such process shall not on that account be void, but it may be set aside as irregular, or amended on such terms as the court shall deem proper. The amendment may be made upon an application to set aside or quash the writ.