Clicking a <button> in an embed inside a form sends the form

You are using buttons for your up/down areas. I think the form is getting confused and thinks you have hit the form submit button. Try using a styled anchor link for the up/down areas instead of using a button. As you are using code embeds this may be useful.