Corrected move transaction to use id's instead of indexes.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>