SCUBA2: ensure an even numbe of images is used in creating jack-knife