Fix no data error in moving* functions

Signed-off-by: Kirill Kondratenko <cybem@cybem.info>