Fix an issue where duplicating the selected row would mix up the second and third action parameters