Bug fix for reconstructing delta (use funtion append).
Handle case with only one shift (drop = FALSE)