Bug fix where submit buttons were included in the form data