Fixed a bug where the wrong parameter was used for the position of a
list item; this was causing incorrect behaviour with the ordering of
list items after submitting an edit.