Fixed DocumentSubmit to consistently fill in whatever document id is supplied as a parameter